.login-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;

  .top-bar {
    background-color: #ff0000;
    padding: 10px 100px;  /* 调整顶部的内边距 */
    display: flex;
    align-items: center;
    gap: 20px;  /* icon 之间的间距 */
    margin-bottom: 10px; /* 减小与主题之间的间隙 */

    .logo-icon {
      img {
        max-height: 50px; /* 限制图标最大高度 */
        width: auto; /* 宽度自适应 */
      }
    }

    .logo-text {
      font-size: 24px;
      font-weight: bold;
      color: yellow;  /* 设置颜色为黄色 */
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
  }

  .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 0;

    .side-image {
      width: 70vw;
      padding-right: 20px;
      border-radius: 20px;
      height: calc(100vh - 150px); /* 确保高度与卡片一致 */
      object-fit: cover;
    }

    .auth-card {
      width: 380px;
      display: flex;
      border-radius: 10px;
      flex-direction: column;
      justify-content: space-between;
      height: calc(100vh - 150px); /* 确保与 .side-image 高度一致 */
      padding-top: 20px; /* 增加内边距 */

      .card-icon {
        text-align: center;
        margin-bottom: 20px;
        font-size: 5rem;
        margin-top: 20px; /* Icon 和顶部栏的间距 */
      }

      .captcha-code {
        font-size: 20px;
        font-weight: bold;
        margin: 10px;
      }

      .refresh-captcha {
        margin-left: 150px;
      }

      .register-link,
      .login-link {
        margin-top: 10px;
        text-align: right;
        color: #007bff;
        cursor: pointer;
      }

      .el-form-item {
        margin-bottom: 20px;
      }

      .form-buttons {
        display: flex;
        gap: 10px;
        
        .el-button {
          flex: 1;
        }
      }
    }
  }

  .bottom-bar {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px; /* 减小与主题之间的间隙 */
  }
}